package com.log.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lizhaoyi
 * @since 2024-07-15
 */
@Data
public class LogInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String logText;

    private String logAttachment;

    private String tag;

    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createdTime;

    private LocalDate date;

    private Date updateTime;

    private int page;
    private int size;


}
